import request from '@/utils/request'

//任务统计
export function taskStatistics(data) {
    return request({
        url: '/task_statistics/',
        method: 'get',
        params:data
    })
}

//每日问题统计
export function taskProblem(data) {
  return request({
      url: '/task_statistics/day/',
      method: 'get',
      params:data
  })
}

//今日项目情况
export function todayProject(data) {
  return request({
      url: '/task_statistics/today/',
      method: 'get',
      params:data
  })
}

//预警
export function earlyWarning(data) {
  return request({
      url: '/early_warning/',
      method: 'get',
      params:data
  })
}